IMSdk Class Reference
| Inherits from | NSObject |
| Declared in | IMSdk.h |
Tasks
-
+ initWithAccountID: -
+ getVersion -
+ setLogLevel: -
+ setAge: -
+ setAreaCode: -
+ setAgeGroup: -
+ setYearOfBirth: -
+ setEducation: -
+ setEthnicity: -
+ setGender: -
+ setHouseholdIncome: -
+ setIncome: -
+ setInterests: -
+ setLanguage: -
+ setLocationWithCity:state:country: -
+ setLocation: -
+ setNationality: -
+ setPostalCode:
Class Methods
getVersion
Use this to get the version of the SDK.
+ (NSString *)getVersionReturn Value
The version of the SDK.
Discussion
Use this to get the version of the SDK.
Declared In
IMSdk.hinitWithAccountID:
Initialize the sdk. This must be called before any other API for the SDK is used.
+ (void)initWithAccountID:(NSString *)accountIDParameters
- accountID
account id obtained from the InMobi portal.
Discussion
Initialize the sdk. This must be called before any other API for the SDK is used.
Declared In
IMSdk.hsetAge:
Provide the user’s age to the SDK for targetting purposes.
+ (void)setAge:(unsigned short)ageParameters
- age
The user’s age.
Discussion
Provide the user’s age to the SDK for targetting purposes.
Declared In
IMSdk.hsetAgeGroup:
Provide the user’s age group to the SDK for targetting purposes.
+ (void)setAgeGroup:(IMSDKAgeGroup)ageGroupParameters
- ageGroup
The user’s age group.
Discussion
Provide the user’s age group to the SDK for targetting purposes.
Declared In
IMSdk.hsetAreaCode:
Provide the user’s area code to the SDK for targetting purposes.
+ (void)setAreaCode:(NSString *)areaCodeParameters
- areaCode
The user’s area code.
Discussion
Provide the user’s area code to the SDK for targetting purposes.
Declared In
IMSdk.hsetEducation:
Provide the user’s education status to the SDK for targetting purposes.
+ (void)setEducation:(IMSDKEducation)educationParameters
- education
The user’s education status.
Discussion
Provide the user’s education status to the SDK for targetting purposes.
Declared In
IMSdk.hsetEthnicity:
Provide the user’s ethnicity to the SDK for targetting purposes.
+ (void)setEthnicity:(IMSDKEthnicity)ethnicityParameters
- ethnicity
The user’s ethnicity.
Discussion
Provide the user’s ethnicity to the SDK for targetting purposes.
Declared In
IMSdk.hsetGender:
Provide the user’s gender to the SDK for targetting purposes.
+ (void)setGender:(IMSDKGender)genderParameters
- gender
The user’s gender.
Discussion
Provide the user’s gender to the SDK for targetting purposes.
Declared In
IMSdk.hsetHouseholdIncome:
Provide the user’s household income to the SDK for targetting purposes.
+ (void)setHouseholdIncome:(IMSDKHouseholdIncome)incomeParameters
- income
The user’s household income.
Discussion
Provide the user’s household income to the SDK for targetting purposes.
Declared In
IMSdk.hsetIncome:
Provide the user’s income to the SDK for targetting purposes.
+ (void)setIncome:(unsigned int)incomeParameters
- income
The user’s income.
Discussion
Provide the user’s income to the SDK for targetting purposes.
Declared In
IMSdk.hsetInterests:
Provide the user’s interests to the SDK for targetting purposes.
+ (void)setInterests:(NSString *)interestsParameters
- interests
The user’s interests.
Discussion
Provide the user’s interests to the SDK for targetting purposes.
Declared In
IMSdk.hsetLanguage:
Provide the user’s preferred language to the SDK for targetting purposes.
+ (void)setLanguage:(NSString *)languageParameters
- language
The user’s language.
Discussion
Provide the user’s preferred language to the SDK for targetting purposes.
Declared In
IMSdk.hsetLocation:
Provide the user’s location to the SDK for targetting purposes.
+ (void)setLocation:(CLLocation *)locationParameters
- location
The location of the user
Discussion
Provide the user’s location to the SDK for targetting purposes.
Declared In
IMSdk.hsetLocationWithCity:state:country:
Provide the user’s location to the SDK for targetting purposes.
+ (void)setLocationWithCity:(NSString *)city state:(NSString *)state country:(NSString *)countryParameters
- city
The user’s city.
- state
The user’s state.
- country
The user’s country.
Discussion
Provide the user’s location to the SDK for targetting purposes.
Declared In
IMSdk.hsetLogLevel:
Set the log level for SDK’s logs
+ (void)setLogLevel:(IMSDKLogLevel)desiredLogLevelParameters
- desiredLogLevel
The desired level of logs.
Discussion
Set the log level for SDK’s logs
Declared In
IMSdk.hsetNationality:
Provide the user’s nationality to the SDK for targetting purposes.
+ (void)setNationality:(NSString *)nationalityParameters
- nationality
The user’s nationality.
Discussion
Provide the user’s nationality to the SDK for targetting purposes.
Declared In
IMSdk.h